package com.example.databean;

import java.io.Serializable;

/**
 * 好友界面显示数据对象
 * 包含用户名用于显示姓名，用户id用于后续的传递参数 用户图片img
 */
public class FriendBean implements Serializable {

    private String userName;

    private String info;

    private int img;

    private String userId;//好友的id(系统中的用户id)

    public FriendBean(String userName, String userId) {
        this.userName = userName;
        this.userId = userId;
    }

    public FriendBean(String userName, int img, String userId, String info) {
        this.userName = userName;
        this.img = img;
        this.userId = userId;
        this.info = info;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public FriendBean() {
    }

    public FriendBean(String userName, int img, String info) {
        this.userName = userName;
        this.img = img;
        this.info = info;
    }

    public FriendBean(String userName, int img) {
        this.userName = userName;
        this.img = img;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }
}
